DataSource for Entity Framework in WPF
C1.LiveLinq.Indexing.Search Namespace / IIndexScanner<T,TKey> Interface / GroupJoin Method / GroupJoin<T2,TResult>(IIndexScanner<T2,TKey>,Func<T,IEnumerable<T2>,TResult>) Method
The type of the elements of the second collection.
The type of the result elements.
The second indexed collection to join to this collection.
A function to create a result element from an element from this collection and a collection of matching elements from the second collection.

In This Topic
    GroupJoin<T2,TResult>(IIndexScanner<T2,TKey>,Func<T,IEnumerable<T2>,TResult>) Method
    In This Topic
    Correlates the items of this indexed collection with the items of another indexed collection and groups the results by the item of this collection.
    Syntax

    Parameters

    source
    The second indexed collection to join to this collection.
    resultSelector
    A function to create a result element from an element from this collection and a collection of matching elements from the second collection.

    Type Parameters

    T2
    The type of the elements of the second collection.
    TResult
    The type of the result elements.

    Return Value

    Enumeration of objects obtained by applying the result selector to group pairs, where each pair consists of an item of this collection and the corresponding enumeration of the items of the second collection joined to it.
    Remarks
    Matching of two elements is performed by matching their keys.
    See Also